/**
 * Validation of the position description
 */
function validateFields() {
	var requirements = document.getElementById("requirements");
	var responsabilities = document.getElementById("responsabilities");

	if (requirements.value == "") {
		alert("Please enter the requirements.");
		document.getElementById("requirements").focus();
		return false;
	}
	
	if (responsabilities.value == "") {
		alert("Please enter the responsabilities.");
		document.getElementById("responsabilities").focus();
		return false;
	}
	return true;

}